package com.junerain.springboot.opservicefeign.controller;

import com.junerain.springboot.opservicefeign.service.SchedualServiceHi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Junerain
 * @Description:
 * @Date:Created in 15:22 2018/8/3
 * @Modified By:
 */
@RestController
public class HiController {
    @Autowired
    SchedualServiceHi schedualServiceHi;

    @RequestMapping(value = "/hi")
    public String sayHi(){
        return schedualServiceHi.sayHiFromClientOne();
    }
}
